package com.fd.bean;

public class User {
    public User() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    private String name;
    private String address;
    //编写一个普通的Bean类
    public void demo(){
        System.out.println( "编写了一个Bean类，这是Bean类的demo方法");
    }
}
